package com.pigcloud.sop.gatewaycommon.bean;

import com.alibaba.fastjson.JSONObject;
import lombok.Data;

/**
 *  描述信息:
 * @Author wangfm
 * @Date: 2024/1/2
 */
@Data
public class ChannelMsg {
    private String operation;
    private JSONObject data;

    public <T> T toObject(Class<T> clazz) {
        return data.toJavaObject(clazz);
    }
}
